      <div id="leftcontent"></div>

      <div id="centercontent">
        <div id='page_header'>
          <span id='page_title'>
          <?php
          if ( $set->paramSetId ) {
          	$set->title();
          } else {
           	echo "Sets";
          }
           ?>
          </span>
          <span id='page_nav'>
          	<?php
	            if ( $set->paramSetId ) {
	            	$setPhotos = $set->get_set_photos();
          			$set->next_page_link($setPhotos, 'prev ') . $set->previous_page_link($setPhotos, 'next');	            	
	            }
          	?>
          </span>
        </div>

        <div id='page'>

            <!-- Show the photo and link the photo to the previous photo -->
            <div id='thumbnail_container'>
            	<?php
            		if ( $set->paramSetId ) { 
            			$set->slideshow_thumbnails( $setPhotos );            			
            		} else {
            			$set->set_list();
            		}
            	?>
            </div>
        </div>
      </div>
      
      <div id="rightcontent"></div>  